/************************************************************

 CompressionExtensionAttribute.cs  
		CopyRight 2000-2002
		This is a sample program made by Saurabh Nandu.
		E-mail: saurabh@MasterCSharp.com
    	Website: www.MasterCSharp.com
		Web Service Compression Extension. 
		 
Compile:
csc /t:library /out:CompressionExtension.dll /R:SharpZipLib.Dll CompressionExtension.cs CompressionExtensionAttribute.cs

08/September/2002
************************************************************/

using System;
using System.Web.Services;
using System.Web.Services.Protocols;

namespace PremierTaxFree.PTFLib.Web
{
    /// <summary>
    /// Summary description for CompressionExtensionAttribute.
    /// </summary>
    // Make the Attribute only Applicable to Methods
    [AttributeUsage(AttributeTargets.Method)]
    public class CompressionExtensionAttribute : SoapExtensionAttribute
    {
        private int priority;

        // Override the base class properties
        public override Type ExtensionType
        {
            get { return typeof(CompressionExtension); }
        }

        public override int Priority
        {
            get
            {
                return priority;
            }
            set
            {
                priority = value;
            }
        }
    }
}
